package net.lab1024.sa.admin.module.business.tests.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * cc 更新表单
 *
 * @Author zh
 * @Date 2024-08-20 16:01:05
 * @Copyright zz
 */

@Data
public class TestsUpdateForm {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "id 不能为空")
    private Integer id;

    @Schema(description = "信息", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "信息 不能为空")
    private String info;

    @Schema(description = "修改时间")
    private LocalDateTime updateTime=LocalDateTime.now();


}